package core.exception;

import core.util.Logger;


public class LoadMailException extends BaseException {
    public LoadMailException(Exception e) {
        Logger.error(e);
        setReason(e.getLocalizedMessage());
    }

    public LoadMailException(String message) {
        Logger.error(message);
        setReason(message);
    }
}
